<form class="mt-4" method="POST" enctype="application/x-www-form-urlencoded" action="/category/add">
  <div class="form-group row">
    <label class="col-sm-2 col-form-label">分类名称：</label>
    <div class="col-sm-10">
      <input class="form-control" type="text" name="name" />
    </div>
  </div>
  <div class="form-group row">
    <label class="col-sm-2 col-form-label"></label>
    <div class="col-sm-10">
      <input class="btn btn-primary mb-2" type="submit" value="增加"/>
    </div>
  </div>
</form>